
function xOut=log(xIn)
  x = xIn.v;
  xOut.v=log(x);
  d = 1./x;
  xOut.d = elelmult_splastindx(d,xIn.d);

  xOut=class(xOut,'deriv1s');
